﻿package mortal.game.view.yyZiZuan
{
    import mortal.game.resource.*;

    public class YYZiZuanUtil extends Object
    {

        public function YYZiZuanUtil()
        {
            return;
        }// end function

        public static function getCategoryData(param1:int) : YYZiZuanCategoryData
        {
            var _loc_3:String = null;
            var _loc_4:int = 0;
            var _loc_2:* = new YYZiZuanCategoryData();
            switch(param1)
            {
                case YYZiZuanConst.MonthMember:
                {
                    _loc_3 = ImagesConst.YYZiZuanTag1;
                    _loc_4 = 154;
                    break;
                }
                case YYZiZuanConst.YearMember:
                {
                    _loc_3 = ImagesConst.YYZiZuanTag2;
                    _loc_4 = 154;
                    break;
                }
                default:
                {
                    break;
                }
            }
            _loc_2.type = param1;
            _loc_2.resName = _loc_3;
            _loc_2.xPos = _loc_4;
            return _loc_2;
        }// end function

    }
}
